import axios from './config'

// const getValidateCode = (params) => axios.post(`${baseUrl}/sms/register/getCode?phone=18356288459`)
const getValidateCode = (params) => axios({method:'post', url: `/sms/register/getCode`, params})

const register = (params) => axios.post('/sms/register/addRegisterUser', params)

export default {
  getValidateCode,
  register,
}  